package model;

import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;

public class Trampoline extends Platform implements Item
{
	
	public Trampoline(double cX, double cY) throws SlickException
	{
		super(cX, cY);
		image = new Image("data/trampolin.png");
	}
	
	public Type getType()
	{
		return Type.TRAMPOLIN;
	}
	
	@Override
	public void act()
	{
		if (super.misterJumpsOn())
		{
			Wrapper.getInstance().setMisterYGeschwindigkeit(0.03);
		}
		
	}
	
}
